const configState = {
  global: {
    primaryColor: 'rgba(255,97,63,1)',
    primaryTextColor: 'rgba(255,97,63,1)',
    tagStyle: 2,
    loadIcon: 1,
    footer: { text: '暂无更多数据', color: 'rgba(35,35,35,1)' },
    searchIcon: 1,
    change: { style: 1, enable: true }
  },
  home: {
    dialogAdv: { radius: 8, background: 'rgba(255,255,255,1)', height: 200, source: {} },
    bottomFloatAdv: { radius: 8, background: 'rgba(255,255,255,1)', height: 200, source: {} }
  },
  template: {
    splash: {
      config: {
        logo: { style: 1, image: 'http://192.168.2.197:10070/file/picture/1657269115TMj4galz.png' },
        text: { color: 'rgba(35,35,35,1)', size: 14, content: '文本内容', align: 'center' },
        background: 'https://pic.rmb.bdstatic.com/bjh/9b1aabc5cd5384cbdce2dfd991086389.jpeg'
      }
    },
    homeRecommend: {
      background: 'rgb(245, 0, 0, 1)',
      content: {
        tabBar: {
          background: 'rgb(245, 0, 0, 1)',
          indicator: { color: '', height: 0 },
          text: {
            color: 'rgba(72,73,77,1)',
            size: 14,
            selectedColor: 'rgba(0,0,0,1)',
            selectedSize: 20,
            letterSpacing: 0,
            lineHeight: 18
          },
          sort: 1
        },
        titleBar: {
          logo: { style: 1, image: 'https://pic.rmb.bdstatic.com/bjh/9b1aabc5cd5384cbdce2dfd991086389.jpeg' },
          search: {
            border: {
              radius: 16,
              width: 0,
              color: 'rgba(255,255,255,1)'
            },
            color: 'rgba(180,184,191,1)',
            fill: 'rgba(255,255,255,1)',
            placeholder: '请输入',
            iconColor: 'rgba(255,97,63,1)',
            align: 'center'
          },
          collection: { style: 1 },
          sort: 2
        },
        noticeBar: {
          style: 1,
          background: 'rgba(255,255,255,1)',
          height: 32,
          text: { color: 'rgba(72,74,77,1)', size: 12, letterSpacing: 0, lineHeight: 18 },
          duration: 3000,
          iconStyle: 1,
          closeStyle: 1,
          sort: 3
        },
        swiperAdv: { style: 1, radius: 8, height: 196, duration: 3000, tagStyle: 1, source: {}, sort: 4 },
        quickEntry: { sort: 5 },
        bannerAdv: { radius: 8, background: 'rgba(255,255,255,1)', height: 200, source: {}, sort: 6 },
        newest: {
          background: 'rgba(255,255,255,1)',
          title: {
            color: 'rgba(0,0,0,1)',
            size: 16,
            letterSpacing: 0,
            lineHeight: 18
          },
          layout: { style: 1, limit: 50 },
          sort: 7
        },
        hottest: {
          background: 'rgba(255,255,255,1)',
          title: { color: 'rgba(0,0,0,1)', size: 16, letterSpacing: 0, lineHeight: 18 },
          layout: { style: 1, limit: 50 },
          sort: 8
        },
        category: {
          background: 'rgba(255,255,255,1)',
          title: { color: 'rgba(0,0,0,1)', size: 16, letterSpacing: 0, lineHeight: 18 },
          layout: { style: 1, limit: 50 },
          sort: 9
        },
        album: {
          background: 'rgba(255,255,255,1)',
          title: { color: 'rgba(0,0,0,1)', size: 16, letterSpacing: 0, lineHeight: 18 },
          layout: { style: 1, limit: 50 },
          sort: 10
        }
      }
    },
    homeNewest: {
      background: 'rgba(255,255,255,1)',
      content: {
        tabBar: {
          background: 'rgba(255,255,255,1)',
          indicator: { color: '', height: 0 },
          text: {
            color: 'rgba(72,73,77,1)',
            size: 14,
            selectedColor: 'rgba(0,0,0,1)',
            selectedSize: 20,
            letterSpacing: 0,
            lineHeight: 18
          },
          sort: 1
        },
        titleBar: {
          logo: { style: 1, image: 'https://pic.rmb.bdstatic.com/bjh/9b1aabc5cd5384cbdce2dfd991086389.jpeg' },
          search: {
            border: { radius: 16, width: 0, color: 'rgba(255,255,255,1)' },
            color: 'rgba(180,184,191,1)',
            fill: 'rgba(255,255,255,1)',
            placeholder: '请输入',
            iconColor: 'rgba(255,97,63,1)',
            align: 'center'
          },
          collection: { style: 1 },
          sort: 2
        },
        noticeBar: {
          style: 1,
          background: 'rgba(255,255,255,1)',
          height: 32,
          text: { color: 'rgba(72,74,77,1)', size: 12, letterSpacing: 0, lineHeight: 18 },
          duration: 3000,
          iconStyle: 1,
          closeStyle: 1,
          sort: 3
        },
        swiperAdv: { style: 1, radius: 8, height: 196, duration: 3000, tagStyle: 1, source: {}, sort: 4 },
        quickEntry: { sort: 5 },
        bannerAdv: { radius: 8, background: 'rgba(255,255,255,1)', height: 200, source: {}, sort: 6 },
        fixed: {
          background: 'rgba(255,255,255,1)',
          title: { color: 'rgba(0,0,0,1)', size: 16, letterSpacing: 0, lineHeight: 18 },
          layout: { style: 1, limit: 50 },
          sort: 7
        },
        more: {
          background: 'rgba(255,255,255,1)',
          title: { color: 'rgba(0,0,0,1)', size: 16, letterSpacing: 0, lineHeight: 18 },
          layout: { style: 2, limit: 50 },
          sort: 8
        }
      }
    },
    homeHottest: {
      background: 'rgba(255,255,255,1)',
      content: {
        tabBar: {
          background: 'rgba(255,255,255,1)',
          indicator: { color: '', height: 0 },
          text: {
            color: 'rgba(72,73,77,1)',
            size: 14,
            selectedColor: 'rgba(0,0,0,1)',
            selectedSize: 20,
            letterSpacing: 0,
            lineHeight: 18
          },
          sort: 1
        },
        titleBar: {
          logo: { style: 1, image: 'https://pic.rmb.bdstatic.com/bjh/9b1aabc5cd5384cbdce2dfd991086389.jpeg' },
          search: {
            border: { radius: 16, width: 0, color: 'rgba(255,255,255,1)' },
            color: 'rgba(180,184,191,1)',
            fill: 'rgba(255,255,255,1)',
            placeholder: '请输入',
            iconColor: 'rgba(255,97,63,1)',
            align: 'center'
          },
          collection: { style: 1 },
          sort: 2
        },
        noticeBar: {
          style: 1,
          background: 'rgba(255,255,255,1)',
          height: 32,
          text: { color: 'rgba(72,74,77,1)', size: 12, letterSpacing: 0, lineHeight: 18 },
          duration: 3000,
          iconStyle: 1,
          closeStyle: 1,
          sort: 3
        },
        swiperAdv: { style: 1, radius: 8, height: 196, duration: 3000, tagStyle: 1, sort: 4 },
        quickEntry: { sort: 5 },
        bannerAdv: { radius: 8, background: 'rgba(255,255,255,1)', height: 200, source: {}, sort: 6 },
        fixed: {
          background: 'rgba(255,255,255,1)',
          title: { color: 'rgba(0,0,0,1)', size: 16, letterSpacing: 0, lineHeight: 18 },
          layout: { style: 1, limit: 50 },
          sort: 7
        },
        more: {
          background: 'rgba(255,255,255,1)',
          title: { color: 'rgba(0,0,0,1)', size: 16, letterSpacing: 0, lineHeight: 18 },
          layout: { style: 2, limit: 50 },
          sort: 8
        }
      }
    },
    homeCategories: {
      background: 'rgba(255,255,255,1)',
      content: {
        tabBar: {
          background: 'rgba(255,255,255,1)',
          indicator: { color: '', height: 0 },
          text: {
            color: 'rgba(72,73,77,1)',
            size: 14,
            selectedColor: 'rgba(0,0,0,1)',
            selectedSize: 20,
            letterSpacing: 0,
            lineHeight: 18
          },
          sort: 1
        },
        titleBar: {
          logo: { style: 1, image: 'https://pic.rmb.bdstatic.com/bjh/9b1aabc5cd5384cbdce2dfd991086389.jpeg' },
          search: {
            border: { radius: 16, width: 0, color: 'rgba(255,255,255,1)' },
            color: 'rgba(180,184,191,1)',
            fill: 'rgba(255,255,255,1)',
            placeholder: '请输入',
            iconColor: 'rgba(255,97,63,1)',
            align: 'center'
          },
          collection: { style: 1 },
          sort: 2
        },
        noticeBar: {
          style: 1,
          background: 'rgba(255,255,255,1)',
          height: 32,
          text: { color: 'rgba(72,74,77,1)', size: 12, letterSpacing: 0, lineHeight: 18 },
          duration: 3000,
          iconStyle: 1,
          closeStyle: 1,
          sort: 3
        },
        swiperAdv: { style: 1, radius: 8, height: 196, duration: 3000, tagStyle: 1, sort: 4 },
        quickEntry: { sort: 5 },
        bannerAdv: { radius: 8, background: 'rgba(255,255,255,1)', height: 200, source: {}, sort: 6 },
        fixed: {
          background: 'rgba(255,255,255,1)',
          title: { color: 'rgba(0,0,0,1)', size: 16, letterSpacing: 0, lineHeight: 18 },
          layout: { style: 1, limit: 50 },
          sort: 7
        },
        more: {
          background: 'rgba(255,255,255,1)',
          title: { color: 'rgba(0,0,0,1)', size: 16, letterSpacing: 0, lineHeight: 18 },
          layout: { style: 2, limit: 50 },
          sort: 8
        }
      }
    },
    homeAlbum: {
      background: 'rgba(255,255,255,1)',
      content: {
        tabBar: {
          background: 'rgba(255,255,255,1)',
          indicator: { color: '', height: 0 },
          text: {
            color: 'rgba(72,73,77,1)',
            size: 14,
            selectedColor: 'rgba(0,0,0,1)',
            selectedSize: 20,
            letterSpacing: 0,
            lineHeight: 18
          },
          sort: 1
        },
        titleBar: {
          logo: { style: 1, image: 'https://pic.rmb.bdstatic.com/bjh/9b1aabc5cd5384cbdce2dfd991086389.jpeg' },
          search: {
            border: { radius: 16, width: 0, color: 'rgba(255,255,255,1)' },
            color: 'rgba(180,184,191,1)',
            fill: 'rgba(255,255,255,1)',
            placeholder: '请输入',
            iconColor: 'rgba(255,97,63,1)',
            align: 'center'
          },
          collection: { style: 1 },
          sort: 2
        },
        noticeBar: {
          style: 1,
          background: 'rgba(255,255,255,1)',
          height: 32,
          text: { color: 'rgba(72,74,77,1)', size: 12, letterSpacing: 0, lineHeight: 18 },
          duration: 3000,
          iconStyle: 1,
          closeStyle: 1,
          sort: 3
        },
        swiperAdv: { style: 1, radius: 8, height: 196, duration: 3000, tagStyle: 1, sort: 4 },
        quickEntry: { sort: 5 },
        bannerAdv: { radius: 8, background: 'rgba(255,255,255,1)', height: 200, source: {}, sort: 6 },
        fixed: {
          background: 'rgba(255,255,255,1)',
          title: { color: 'rgba(0,0,0,1)', size: 16, letterSpacing: 0, lineHeight: 18 },
          layout: { style: 1, limit: 50 },
          sort: 7
        },
        more: {
          background: 'rgba(255,255,255,1)',
          title: { color: 'rgba(0,0,0,1)', size: 16, letterSpacing: 0, lineHeight: 18 },
          layout: { style: 2, limit: 50 },
          sort: 8
        }
      }
    },
    homePeople: {
      background: 'rgba(255,255,255,1)',
      content: {
        tabBar: {
          background: 'rgba(255,255,255,1)',
          indicator: { color: '', height: 0 },
          text: {
            color: 'rgba(72,73,77,1)',
            size: 14,
            selectedColor: 'rgba(0,0,0,1)',
            selectedSize: 20,
            letterSpacing: 0,
            lineHeight: 18
          },
          sort: 1
        },
        titleBar: {
          logo: { style: 1, image: 'https://pic.rmb.bdstatic.com/bjh/9b1aabc5cd5384cbdce2dfd991086389.jpeg' },
          search: {
            border: { radius: 16, width: 0, color: 'rgba(255,255,255,1)' },
            color: 'rgba(180,184,191,1)',
            fill: 'rgba(255,255,255,1)',
            placeholder: '请输入',
            iconColor: 'rgba(255,97,63,1)',
            align: 'center'
          },
          collection: { style: 1 },
          sort: 2
        },
        noticeBar: {
          style: 1,
          background: 'rgba(255,255,255,1)',
          height: 44,
          text: { color: 'rgba(72,74,77,1)', size: 12, letterSpacing: 0, lineHeight: 18 },
          duration: 3000,
          iconStyle: 1,
          closeStyle: 1,
          sort: 3
        },
        swiperAdv: { style: 1, radius: 8, height: 196, duration: 3000, tagStyle: 1, sort: 4 },
        quickEntry: { sort: 5 },
        bannerAdv: { radius: 8, background: 'rgba(255,255,255,1)', height: 200, source: {}, sort: 6 },
        filterBar: {
          background: 'rgba(255,255,255,1)',
          tag: { color: 'rgba(255,255,255,1)', selected: 'rgba(255,97,63,0.10)' },
          border: { color: 'rgba(255,255,255,1)', selected: 'rgba(255,97,63,0.10)', width: 0, radius: 8 },
          text: {
            color: 'rgba(72,73,77,1)',
            size: 14,
            selectedColor: 'rgba(255,97,63,1)',
            selectedSize: 16,
            letterSpacing: 0,
            lineHeight: 18
          },
          sort: 7
        },
        peopleGrid: {
          background: 'rgba(255,255,255,1)',
          color: 'rgba(0,0,0,1)',
          layout: { style: 1, limit: 50 },
          source: {},
          sort: 8
        }
      }
    },
    videoFilter: {
      name: '视频筛选',
      background: 'rgba(255,255,255,1)',
      source: {},
      content: {
        condition: {
          style: 1,
          background: 'rgba(255,255,255,1)',
          fill: 'rgba(255,97,63,0.1)',
          border: { color: 'rgba(255,255,255,1)', width: 0, radius: 4 },
          text: { color: 'rgba(72,73,77,1)', selectedColor: 'rgba(255,97,63,1)' },
          source: {},
          sort: 1
        },
        swiperAdv: { style: 1, radius: 8, height: 196, duration: 3000, tagStyle: 1, sort: 2 },
        bannerAdv: { radius: 8, background: 'rgba(255,255,255,1)', height: 200, source: {}, sort: 3 },
        result: { background: 'rgba(246,248,251,1)', layout: { style: 1, limit: 50 }, sort: 4 }
      }
    },
    videoMore: {
      name: '更多视频列表',
      background: 'rgba(246,248,251,1)',
      content: {
        swiperAdv: { style: 1, radius: 8, height: 196, duration: 3000, tagStyle: 1, sort: 1 },
        bannerAdv: { radius: 8, background: 'rgba(255,255,255,1)', height: 200, source: {}, sort: 2 },
        videoGrid: {
          background: 'rgba(255,255,255,1)',
          title: { color: '#ffffff', size: 16 },
          layout: { style: 1, limit: 50 },
          sort: 3
        }
      }
    },

    videoPlayer: {
      background: 'rgba(241,241,241,1)',
      playerBeforeAdv: { duration: 5, source: {} },
      playerPauseAdv: { radius: 12, width: 160, height: 120, source: {} },
      content: {
        player: { sort: 1 },
        swiperAdv: { style: 1, radius: 8, height: 196, duration: 3000, tagStyle: 1, sort: 2 },
        bannerAdv: { radius: 8, background: 'rgba(255,255,255,1)', height: 200, source: {}, sort: 3 },
        parts: {
          style: 1,
          selectedBorderColor: 'rgba(255,97,63,1)',
          selectedBackground: 'rgba(246,247,249,1)',
          selectTextColor: 'rgba(255,97,63,1)',
          radius: 4,
          sort: 4
        },
        videoGrid: {
          background: 'rgba(255,255,255,1)',
          title: { color: 'rgba(255,255,255,1)', size: 14, letterSpacing: 0, lineHeight: 17 },
          layout: { style: 1, limit: 50 },
          sort: 5
        },
        footerBar: { style: 1, background: 'rgba(255,255,255,1)', sort: 6 }
      }
    },

    videoSynopsis: {
      background: 'rgba(241,241,241,1)',
      content: {
        score: { fill: 'rgba(255,176,39,1)', iconStyle: 1, color: 'rgba(72,73,77,1)', sort: 1 },
        viewCounts: { enable: true, background: 'rgba(255,255,255,1)', sort: 2 }
      }
    },

    actorDetails: {
      background: 'rgba(241,241,241,1)',
      content: {
        synopsis: { maxLine: 5, background: 'rgba(255,255,255,1)', moreButton: { enable: true, style: 1 }, sort: 1 },
        swiperAdv: { style: 1, radius: 8, height: 196, duration: 3000, tagStyle: 1, sort: 2 },
        bannerAdv: { radius: 8, background: 'rgba(255,255,255,1)', height: 200, source: {}, sort: 3 },
        works: { layout: { style: 1, limit: 50 }, sort: 5 }
      }
    },
    actorDetailsMore: {
      background: 'rgba(255,255,255,1)',
      content: {
        tabs: {
          style: 1,
          background: 'rgba(255,255,255,1)',
          indicator: { color: 'rgba(255,97,63,1)', height: 2 },
          text: { color: 'rgba(72,73,77,1)', size: 14, selectedColor: 'rgba(255,97,63,1)', selectedSize: 14 },
          sort: 1
        },
        swiperAdv: { style: 1, radius: 8, height: 196, duration: 3000, tagStyle: 1, sort: 2 },
        bannerAdv: { radius: 8, background: 'rgba(255,255,255,1)', height: 200, source: {}, sort: 3 },
        works: { background: 'rgba(255,255,255,1)', layout: { style: 1, limit: 50 }, source: {}, sort: 4 }
      }
    },
    articleHome: {
      background: 'rgba(241,241,241,1)',
      content: {
        appBar: { background: 'rgba(255,255,255,1)', titleColor: 'rgba(72,73,77,1)', sort: 1 },
        categoriesGrid: { background: 'rgba(255,255,255,1)', cols: 4, style: 1, sort: 2 },
        swiperAdv: { style: 1, radius: 8, height: 196, duration: 3000, tagStyle: 1, sort: 3 },
        bannerAdv: { radius: 8, background: 'rgba(255,255,255,1)', height: 200, source: {}, sort: 4 },
        articleList: {
          background: 'rgba(255,255,255,1)',
          title: { color: 'rgba(0,0,0,1)', size: 16 },
          layout: { style: 3, limit: 50 },
          sort: 5
        }
      }
    },
    articleCategories: {
      background: 'rgba(241,241,241,1)',
      content: {
        filterBar: {
          style: 1,
          border: { color: 'rgba(255,97,63,1)', width: 0, radius: 4 },
          fill: 'rgba(255,97,63,0.10)',
          text: { color: 'rgba(72,73,77,1)', selectedColor: 'rgba(255,97,63,1)' },
          sort: 1
        },
        swiperAdv: { style: 1, radius: 8, height: 196, duration: 3000, tagStyle: 1, sort: 2 },
        bannerAdv: { radius: 8, background: 'rgba(255,255,255,1)', height: 200, source: {}, sort: 3 }
      }
    },
    articleDetails: {
      background: 'rgba(241,241,241,1)',
      content: {
        categoriesBar: {
          style: 1,
          sort: 1,
          border: {
            color: 'rgba(255,205,194,1)',
            width: 1,
            radius: 4
          },
          fill: 'rgba(255,239,235,1)',
          text: {
            color: 'rgba(72,73,77,1)',
            size: 16,
            letterSpacing: 0,
            lineHeight: 18
          }
        },
        swiperAdv: { style: 1, radius: 8, height: 196, duration: 3000, tagStyle: 1, sort: 2 },
        bannerAdv: { radius: 8, background: 'rgba(255,255,255,1)', height: 200, source: {}, sort: 3 },
        synopsis: { maxLine: 5, background: 'rgba(255,255,255,1)', moreButton: { enable: true, style: 1 }, sort: 4 },
        bottomBar: {
          background: 'rgba(255,255,255,1)',
          style: 1,
          collection: { fill: 'rgba(246,248,251,1)', color: 'rgba(72,74,77,1)' },
          read: { fill: '', color: 'rgba(246,248,251,1)' },
          sort: 5
        }
      }
    },
    articleRead: {
      content: {
        topBar: { style: 1, sort: 1 }
      }
    },
    atlasHome: {
      background: 'rgba(241,241,241,1)',
      content: {
        appBar: { background: 'rgba(255,255,255,1)', titleColor: 'rgba(72,73,77,1)', sort: 1 },
        categoriesGrid: { background: 'rgba(255,255,255,1)', cols: 4, style: 1, sort: 2 },
        swiperAdv: { style: 1, radius: 8, height: 196, duration: 3000, tagStyle: 1, sort: 3 },
        bannerAdv: { radius: 8, background: 'rgba(255,255,255,1)', height: 200, source: {}, sort: 4 },
        freeList: { title: { background: 'rgba(0,0,0,1)', size: 16 }, layout: { style: 1, limit: 50 }, sort: 5 },
        hotList: { title: { background: 'rgba(0,0,0,1)', size: 16 }, layout: { style: 1, limit: 50 }, sort: 6 }
      }
    },
    atlasCategories: {
      background: 'rgba(241,241,241,1)',
      content: {
        filterBar: {
          style: 1,
          border: { color: 'rgba(255,97,63,1)', width: 0, radius: 4 },
          fill: 'rgba(255,97,63,0.10)',
          text: { color: 'rgba(72,73,77,1)', selectedColor: 'rgba(255,97,63,1)' },
          sort: 1
        },
        swiperAdv: { style: 1, radius: 8, height: 196, duration: 3000, tagStyle: 1, sort: 2 },
        bannerAdv: { radius: 8, background: 'rgba(255,255,255,1)', height: 200, source: {}, sort: 3 },
        result: { background: 'rgba(255,255,255,1)', layout: { style: 2, limit: 50 }, sort: 4 }
      }
    },
    atlasMore: {
      background: 'rgba(241,241,241,1)',
      content: {
        swiperAdv: { style: 1, radius: 8, height: 196, duration: 3000, tagStyle: 1, sort: 1 },
        bannerAdv: { radius: 8, background: 'rgba(255,255,255,1)', height: 200, source: {}, sort: 2 },
        atlasGrid: { background: 'rgba(255,255,255,1)', layout: { style: 1, limit: 50 }, sort: 3 }
      }
    },
    atlasDetails: {
      background: 'rgba(241,241,241,1)',
      content: {
        swiperAdv: { style: 1, radius: 8, height: 196, duration: 3000, tagStyle: 1, sort: 1 },
        bannerAdv: { radius: 8, background: 'rgba(255,255,255,1)', height: 200, source: {}, sort: 2 },
        topBar: { style: 1, sort: 3 }
      }
    }
  },
  source: {}
}

export type ConfigState = typeof configState

export default configState
